home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / tools / czesc_1 / cliva / cliva_eng.guide (.txt) < prev    next >
Amigaguide Document  |  1994-01-11  |  38KB  |  861 lines

  1. @Cliva Guide
  2. @node main " CliVa option table  "
  3. CliVa v2.0 Copyright 
  4.  1991 1992 1993 Christian Warren  All rights reserved.
  5. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6.  @{" Introduction! " link "INTRODUCTION"}   @{" Who and Where " link "WHO_WHERE"}   @{"    History    " link "HISTORY"}   @{"   Thanks..  " link "THANKS.."}
  7.                            @{" Menu Definitions " link "MENU"}
  8.                            ~~~~~~~~~~~~~~~~~~
  9.              @{" Function  Keys " link "SPECIAL"}            @{"      Notes      " link Notes_Config}
  10.              ~~~~~~~~~~~~~~~~            ~~~~~~~~~~~~~~~~~
  11.                      Configuration Commands for CliVa
  12.                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  13.           @{" POS_WINDOW           " link "POS_WINDOW"}       @{" ICON_WHEN_EXECUTE    " link "ICON_WHEN_EXECUTE"}
  14.           @{" DEF_ICON             " link "DEF_ICON"}       @{" COLOR_BORDER_GADGET  " link "COLOR_BORDER_GADGET"}
  15.           @{" SIZE_GADGET          " link "SIZE_GADGET"}       @{" COLOR_WINDOW         " link "COLOR_WINDOW"}
  16.           @{" PIXEL_BETWEEN_GADGET " link "PIXEL_BETWEEN_GADGET"}       @{" COLOR_BACKGROUND     " link "COLOR_BACKGROUND"}
  17.           @{" PIXEL_FROM_BORDER    " link "PIXEL_FROM_BORDER"}       @{" COLOR_GADGET_DEF     " link "COLOR_GADGET_DEF"}
  18.           @{" NB_GADGETS           " link "NB_GADGETS"}       @{" ON_SCREEN            " link "ON_SCREEN"}
  19.           @{" WINDOW_TITLE         " link "WINDOW_TITLE"}       @{" NO_MENU              " link "NO_MENU"}
  20.           @{" TASK_PRIORITY        " link "TASK_PRIORITY"}       @{" GADGET_ICONIFIED     " link "GADGET_ICONIFIED"}
  21.           @{" DEF_WINDOW_EXECUTE   " link "DEF_WINDOW_EXECUTE"}       @{" FONT_STYLE           " link "FONT_STYLE"}
  22.           @{" ICONIFIED            " link "ICONIFIED"}       @{" FONT                 " link "FONT"}
  23.           @{" NO_DRAG_BAR          " link "NO_DRAG_BAR"}       @{" UP_TO_DOWN           " link "UP_TO_DOWN"}
  24.           @{" SET_VAR              " link "SET_VAR"}
  25.                           @{" Gadgets Definitions " link "Def_Gadgets"}
  26.                           ~~~~~~~~~~~~~~~~~~~~~
  27.        @{"  =S  " link "=S"}       @{"  =]  " link "=]"}       @{"  =[  " link "=["}       @{"  =E  " link "=E"}       @{"  =P  " link "=P"}
  28.        @{"  =D  " link "=D"}       @{"  =D* " link "=D*"}       @{"  =[* " link "=[*"}       @{"  =L  " link "=L"}       @{"  =M  " link "=M"}
  29.                          @{" Commands  Definitions " link "Def_Commands"}
  30.                          ~~~~~~~~~~~~~~~~~~~~~~~
  31.  All options start with a BackSlash ('\') and are followed by arguments
  32.  define between brackets ('[', ']').
  33.        @{"   b   " link "\b"}       @{"  o O  " link "\oO"}       @{"   vm  " link "\vm"}       @{"   pp  " link "\pp"}       @{"   m   " link "\m"}
  34.        @{"   d   " link "\d"}       @{"   pa  " link "\pa"}       @{"   vs  " link "\vs"}       @{"   p   " link "\p"}       @{"   M   " link "\MM"}
  35.        @{"   dl  " link "\dl"}       @{"   q   " link "\q"}       @{"  vte  " link "\vte"}       @{"   sa  " link "\sa"}       @{"  ael  " link "\ael"}
  36.        @{"   f1  " link "\f1"}       @{"   ql  " link "\ql"}       @{"   vu  " link "\vu"}       @{"   sA  " link "\sAA"}       @{"  aes  " link "\aes"}
  37.        @{"   fl  " link "\fl"}       @{"  ivs  " link "\ivs"}       @{"   I   " link "\I"}       @{"   sm  " link "\sm"}       @{"  des  " link "\des"}
  38.        @{"   fm  " link "\fm"}       @{"  ved  " link "\ved"}       @{"   Q   " link "\QQ"}       @{"   sM  " link "\sMM"}       @{"   es  " link "\es"}
  39.        @{"  g G  " link "\gG"}       @{"  vnd  " link "\ved"}       @{"   np  " link "\np"}       @{"   nd  " link "\nd"}       @{"   nd  " link "\nd"}
  40.        @{"   X   " link "\X"}       @{"  vfe  " link "\vfe"}
  41. @endnode
  42. @node INTRODUCTION "INTRODUCTION"
  43. CliVa v2.0 Copyright 
  44.  1991 1992 1993 Christian Warren  All rights reserved.
  45. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  46.    CliVa is placed in the Public Domain for the Amiga.  A shareware fee
  47. of 15$ is suggested to use it.  Feel free to use it, but AT YOUR OWN RISK,
  48. as I cannot be considered responsible for any damage caused to your system.
  49. Introduction
  50. ~~~~~~~~~~~~
  51.    CliVa will give you the chance to build a interface entirely configurable
  52. to launch your applications from gadgets. If you want to have a better idea of
  53. the possibility of CliVa, I encourage you to check for the examples supplied
  54. in the archive.
  55.    To use CliVa, you must have the 'PowerPacker.library' (permit the
  56. compression of the config) and the 'req.library'. These two library are
  57. present in the archive, if you execute the 'Example' file the library will be
  58. charged in memory but not copied to your system. To install them on your
  59. system you must click on the 'Install CliVa' Button.
  60. Requirement
  61. ~~~~~~~~~~~
  62.    - CliVa must be able to access the 'PowerPacker.library', the
  63.    'req.library' and the 'diskfont.library'.
  64.    - The file 'echo', 'execute', 'newshell' and 'mouse' must be present in one
  65.    of the directory of the path.
  66.    - The OS 2.0 IS NOT required for CliVa.
  67. Information on the CliVa executable
  68. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  69.    - CliVa is 'pure', you can make it resident.
  70.    SHELL usage:
  71.             Cliva {-configuration} Other.config {-configuration}
  72.    WORKBENCH usage:
  73.             -configuration
  74.             ...
  75.             Other.config
  76.             ...
  77.    argument:
  78.       '-configuration' ==> CliVa take the arguement as if it as been placed at
  79.                            the beginning of the config file.
  80.                         ex.
  81.                            CliVa "-TASK_PRIORITE 3" "-SET_VAR BLACK 0"
  82.       'Other.config' ==> Config to load.  By default, CliVa search in the
  83.                          current path for the file 'CliVa.config' then he
  84.                          search it in the directory S:.
  85.                       ex.
  86.                          CliVa Other.config
  87. @endnode
  88. @node TASK_PRIORITY " TASK_PRIORITY "
  89.      Name:  TASK_PRIORITY
  90.    format:  -TASK_PRIORITY priority
  91.   default:  priority = 0
  92.  function:  Define the task priority of CliVa, must be between -19 and +19.
  93. @endnode
  94. @node DEF_WINDOW_EXECUTE " DEF_WINDOW_EXECUTE "
  95.      Name:  DEF_WINDOW_EXECUTE
  96.    format:  -DEF_WINDOW_EXECUTE shell_window_definition
  97.   default:  "CON:000/095/640/105/CliVa_Shell"
  98.  function:  Define all shell output specifications which will be opened if
  99.             the selected gadget needs an output window.
  100. @endnode
  101. @node ON_SCREEN " ON_SCREEN "
  102.      Name:  ON_SCREEN
  103.    format:  -ON_SCREEN my_screen
  104.   default:  "Workbench"
  105.  function:  Opens CliVa on a particular screen. The supplied name of the
  106.             screen can consist of the first few letters of the targeted
  107.             real name screen. If the screen is not found, CliVa will open
  108.             on the default screen. Make sure you close CliVa before you
  109.             close the screen it is on, because you will be meditating about
  110.             your error while rebooting your system.:-)
  111.             ex. -ON_SCREEN CED  -> Open Cliva on the Cygnus Ed screen
  112. @endnode
  113. @node ICONIFIED " ICONIFIED "
  114.      Name:  ICONIFIED
  115.    format:  -ICONIFIED
  116.  function:  CliVa will start iconified.
  117. @endnode
  118. @node ICON_WHEN_EXECUTE " ICON_WHEN_EXECUTE "
  119.      Name:  ICON_WHEN_EXECUTE
  120.    format:  -ICON_WHEN_EXECUTE
  121.  function:  The 'AutoIconify' option in the menu will be selected.
  122.             (more on this AutoIconify function further down)
  123. @endnode
  124. @node WINDOW_TITLE " WINDOW_TITLE "
  125.      Name:  WINDOW_TITLE
  126.    format:  -WINDOW_TITLE title
  127.   default:  "CliVa 2.0 (c) 1991-1993 Christian Warren"
  128.  function:  Changes the window title. If CliVa's configuration is more
  129.             than one page, the following will be inserted "   (Page xxx/max )"
  130.             to the titlebar. If the NO_DRAG_BAR option is used, the Screen
  131.             titlebar will be used.
  132. @endnode
  133. @node NO_DRAG_BAR " NO_DRAG_BAR "
  134.      Name:  NO_DRAG_BAR
  135.    format:  -NO_DRAG_BAR
  136.  function:  The window does not have a visible DragBar. CliVa will create
  137.             invisible gadgets to replace those that are eliminated.
  138.             Those invisible gadgets will be placed at the top of the window.
  139. @endnode
  140. @node NO_MENU " NO_MENU "
  141.      Name:  NO_MENU
  142.    format:  -NO_MENU
  143.  function:  Does not attach a menu to the screen. You must define a "Quit"
  144.             gadget if you want to be able to Quit CliVa.
  145. @endnode
  146. @node FONT " FONT "
  147.      Name:  FONT
  148.    format:  -FONT font height
  149.   default:  system font by default.
  150.  function:  Define the font to be used and its height.
  151.             ex. -FONT Diamond.font 14
  152. @endnode
  153. @node POS_WINDOW " POS_WINDOW "
  154.      Name:  POS_WINDOW
  155.    format:  -POS_WINDOW position_x position_y
  156.   default:  position_x = 0             position_y = 11
  157.  function:  Define CliVa's top left window corner. If your entry is more
  158.             then the screen border, the position will be ajusted to be as
  159.             close as possible. An example would be if you define X as 2000,
  160.             then CliVa's window will be against the right side screen border.
  161. @endnode
  162. @node COLOR_WINDOW " COLOR_WINDOW "
  163.      Name:  COLOR_WINDOW
  164.    format:  -COLOR_WINDOW Letter_color Background_color
  165.   default:  Letter_color = 2         Background_letter_color = 1
  166.  function:  Define colors to be used in the window. These colors are, among
  167.             things, used for menus and window border.
  168. @endnode
  169. @node COLOR_BACKGROUND " COLOR_BACKGROUND "
  170.      Name:  COLOR_BACKGROUND
  171.    format:  -COLOR_BACKGROUND color
  172.   default:  color = 2
  173.  function:  Define color for background of the window.
  174. @endnode
  175. @node NB_GADGETS " NB_GADGETS "
  176.      Name:  NB_GADGETS
  177.    format:  -NB_GADGETS nb_horizontal nb_vertical
  178.   default:  nb_horizontal = 5          nb_vertical = 4
  179.  function:  Define how many horizontal and vertical gadgets.
  180. @endnode
  181. @node UP_TO_DOWN " UP_TO_DOWN "
  182.      Name:  UP_TO_DOWN
  183.    format:  -UP_TO_DOWN
  184.  function:  The gadgets will be numbered from top to buttom instead of
  185.             left to right.
  186.             NORMAL               UPDOWN
  187.             1  2  3              1  4  7
  188.             4  5  6              2  5  8
  189.             7  8  9              3  6  9
  190. @endnode
  191. @node SIZE_GADGET " SIZE_GADGET "
  192.      Name:  SIZE_GADGET
  193.    format:  -SIZE_GADGET Width height
  194.   default:  width = 112              height = 13
  195.  function:  Define width and height of gadgets.
  196. @endnode
  197. @node PIXEL_BETWEEN_GADGET " PIXEL_BETWEEN_GADGET "
  198.      Name:  PIXEL_BETWEEN_GADGET
  199.    format:  -PIXEL_BETWEEN_GADGET space_x space_y
  200.   default:  space_x = 12             space_y = 4
  201.  function:  Define space, in pixels, between the gadgets.
  202. @endnode
  203. @node PIXEL_FROM_BORDER " PIXEL_FROM_BORDER "
  204.      Name:  PIXEL_FROM_BORDER
  205.    format:  -PIXEL_FROM_BORDER left right top buttom
  206.   default:  left = 16    right = 16    top = 5    buttom = 5
  207.  function:  Define space, in pixels, between the gadgets and the border
  208.             of the window.
  209. @endnode
  210. @node COLOR_BORDER_GADGET " COLOR_BORDER_GADGET "
  211.      Name:  COLOR_BORDER_GADGET
  212.    format:  -COLOR_BORDER_GADGET color_Top color_Buttom
  213.   default:  color_Top = 1            color_Buttom = 0
  214.  function:  Define colors to be used for the gadgets borders.
  215. @endnode
  216. @node COLOR_GADGET_DEF " COLOR_GADGET_DEF "
  217.      Name:  COLOR_GADGET_DEF
  218.    format:  -COLOR_GADGET_DEF Letter_color Back_color
  219.   default:  Letter_color = 1         Back_color = 2
  220.  function:  Define default color for gadgets.
  221. @endnode
  222. @node FONT_STYLE " FONT_STYLE "
  223.      Name:  FONT_STYLE
  224.    format:  -FONT_STYLE style
  225.   default:  NORMAL
  226.  function:  Define default font style for the gadgets. You must enter
  227.             a number defining the font style.
  228.             PLAIN TEXT = 0             UNDERSCORE = 1
  229.               BOLDFACE = 2                ITALICS = 4
  230.               EXTENDED = 8
  231.             ex. BOLDFACE + ITALICS -> 2 + 4  ==> -FONT_STYLE 6
  232. @endnode
  233. @node GADGET_ICONIFIED " GADGET_ICONIFIED "
  234.      Name:  GADGET_ICONIFIED
  235.    format:  -GADGET_ICONIFIED name
  236.   default:  "CliVa"
  237.  function:  Define what will be written in CliVa's iconified window.
  238. @endnode
  239. @node DEF_ICON " DEF_ICON "
  240.      Name:  DEF_ICON
  241.    format:  -DEF_ICON position_x position_y width
  242.   default:  position_x = 0     position_y = 11     width = 100
  243.  function:  Define CliVa's top left window corner position and width.
  244.              ( minimum width = 26)
  245.             The X and Y arguments are subject to the same defenition of
  246.             POS_WINDOW. The height of the window will respect the
  247.             gadgets height.
  248. @endnode
  249. @node SET_VAR " SET_VAR "
  250.      Name:  SET_VAR
  251.    format:  -SET_VAR name value
  252.  function:  Define a variable to ease creation of scripts.
  253.             You can define as many variables as you wish. Once defined,
  254.             CliVa will replace the -name- by its -numeric_value- when a
  255.             configuration needs a number as an argument.
  256.             If a variable name is define more than once, only the first
  257.             occurance will be used. Variables usage is encouraged to create
  258.             easy modifiable scripts.
  259.             ex.   -SET_VAR red                3
  260.                   -SET_VAR blue               2
  261.                   -SET_VAR Boldface_Undescore 3
  262.                   -COLOR_GADGET_DEF red blue
  263.                   -FONT_STYLE Boldface_Undescore
  264. @endnode
  265. @node Notes_Config " Notes "
  266. Notes.
  267.       - The variables defined by SET_VAR can be used anywhere when the
  268.         argument required is a number.
  269.    ex. -SET_VAR red 2                   <= OK
  270.        -SET_VAR Titre "CliVa 2.0"  <= ERROR
  271.        -COLOR_BACKGROUND red       <= OK
  272.        -WINDOW_TITLE Title         <= ERROR
  273.        -WINDOW_TITLE red           <= window title -> 'red'
  274.       - The argument which have imbedded spaces must be quoted using '"'.
  275.          ex. -WINDOW_TITLE "CliVa 2.0"
  276.       - These commands MUST BE placed before any gadget definition.
  277.         If a command is placed after a gadget definition, it will be shown
  278.         in the gadget definition.
  279.       - You can comment lines using the '#' at the beginning of the line.
  280. @endnode
  281. @node Def_Gadgets " Def_Gadgets "
  282. Gadgets definition
  283. ~~~~~~~~~~~~~~~~~~
  284.    These arguments are used to define a gadget.
  285.       Title of gadget = Chain of characters to be written in the gadget. The
  286.                         title of the gadget can contain [<number>]. It will
  287.                         insert the content of the defined variable <number>.
  288.                         If the variable's value changes, it will be reflected
  289.                         in the gadget's title
  290.                         ex.
  291.                            variable 1 = "OS 2.0"
  292.                            title      = "Color [1]"
  293.                            Result    -> "Color OS 2.0"
  294.       Letter_color  = Color used for the letters in a gadget.
  295.       Back_color    = Color for the background in a gadget.
  296.       Font_style    = Font style for a gadget.
  297.                         (see configuration FONT_STYLE)
  298. @endnode
  299. @node =S " =S "
  300.    ------------------------ 1. Starting Command  --------------------------
  301.       format:
  302.          =S
  303.          Command
  304.          [Command ...]
  305.       function:
  306.          Define the commands that will be executed when Starting CliVa.
  307.          No gadgets will be created. This can be usefull if you want to
  308.          assign some values by default to certain variable.
  309.       example:
  310.          =S
  311.          \vs[1]Workbench
  312.          \vs[2]df0:
  313.          \vs[3]df1:
  314.          =D "DiskCopy from [2] to [3]"
  315.          DiskCopy \vu[2] TO \vu[3]
  316. @endnode
  317. @node =D " =D "
  318.    ------------------------------ 2. Gadget -------------------------------
  319.       format:
  320.          =D Title [Letter_color] [Back_color] [Font_style]
  321.          Command
  322.          [Command ...]
  323.       function:
  324.          Define a gadget. You must supply a title, others are optional.
  325.       example:
  326.          =D "Avail" red blue
  327.          Avail\w
  328. @endnode
  329. @node =D* " =D* "
  330.    ------------------------------- 3. Menu --------------------------------
  331.       format:
  332.          =D* Title [Letter_color] [Back_color] [Font_style]
  333.       function:
  334.          Define a 'Menu'. This kind of gadget cannot execute commands.
  335.          They can be used to seperate different part of your configuration.
  336.          These Gadget wont have the elevated 3d look like regular ones.
  337.          You must supply a title, others are optional.
  338.       example:
  339.          =D* "Tools" white black
  340. @endnode
  341. @node =[ " =[ "
  342.    -------------------- 4. Definition of a Fix Gadget  --------------------
  343.       format:
  344.          =[ position Title [Letter_color] [Back_color] [Font_style]
  345.          Command
  346.          [Command ...]
  347.       function:
  348.          Define a gadget that will show up on every pages, at the same
  349.          location it was defined for. You must supply the position where
  350.          you want it to be located. A negatif number will place the gadget
  351.          counting from the end of the page instead of the beginning.
  352.          Don't forget to keep in mind the UP_TO_DOWN option. The number
  353.          of fix gadget is limited to 29. Be carefull not to put all gadgets
  354.          of a page as Fix ones, in that situation CliVa will fall in a loop
  355.          and will create zillions of gadgets...
  356.       example:
  357.          If NUMBER_GADGET_HORIZONTAL = 4
  358.             NUMBER_GADGET_VERTICAL   = 3
  359.          The gadgets will be numbered as:
  360.             1    2    3    4           -12  -11  -10   -9
  361.             5    6    7    8     or     -8   -7   -6   -5
  362.             9   10   11   12            -4   -3   -2   -1
  363.                   =[ 11 "Next Page" black red
  364.                   \np
  365.                   *** is equal to ***
  366.                   =[ -2 "Next Page" black red
  367.                   \np
  368. @endnode
  369. @node =[* " =[* "
  370.    --------------------- 5. definition of a Fix Menu ----------------------
  371.       format:
  372.          =[* position Title [Letter_color] [Back_color] [Font_style]
  373.       function:
  374.          Define a Menu that will appear on each pages, starting from the
  375.          location where it is define. For the rest, its the same as a
  376.          Fix Gadget.
  377. @endnode
  378. @node =] " =] "
  379.    --------------- 6. destruction of a gadget or a Fix Menu ---------------
  380.       format:
  381.          =] position
  382.       function:
  383.           Kill a Fix Gadget or a Fix Menu.
  384.       example:
  385.          ... many pages WithOUT the Bogus gadget ...
  386.          =[* 2 "Bogus"
  387.          ... many pages WITH the Bogus gadget ...
  388.          =] 2
  389.          ... many pages without the Bogus gadget ...
  390. @endnode
  391. @node =E " =E "
  392.    ---------------------------- 7. Empty Gadget----------------------------
  393.       format:
  394.          =E
  395.       function:
  396.          Define a empty gadget. Equal to the defenition:
  397.          =D* ""
  398. @endnode
  399. @node =L " =L "
  400.    --------------------- 8. Empty gadget till next line -------------------
  401.       format:
  402.          =L
  403.       function:
  404.          Place 'Empty' gadgets till next line as long as we are not the
  405.          first gadget of the line, if on the first gadget, nothing will be
  406.          done.
  407. @endnode
  408. @node =P " =P "
  409.    --------------------- 9. Empty Gadget till next page -------------------
  410.       format:
  411.          =P
  412.       function:
  413.          Place 'empty' gadget till next page as long as we are not the
  414.          first gadget of the page, if on the first gadget, nothing will be
  415.          done.
  416. @endnode
  417. @node =M " =M "
  418.    ------- 10. Add an APPMenu to the Tools menu of the Workbench ----------
  419.       format:
  420.          =M Title
  421.          Command
  422.          [Command ...]
  423.       fonction:
  424.          Define an APPMenu.  You must supply a title.  You cannot use variable
  425.          in the title...
  426.          (ex. '=M "See [1]"' => Title will be "See [1]".)
  427.       exemple:
  428.          =M "See Texte"
  429.          more \f1
  430. @endnode
  431. @node Def_Commands " Def_Commands "
  432. Options available on the command script line
  433. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  434. All options start with a BackSlash ('\') and are followed by arguments
  435. define between brackets ('[', ']').  If an argument define as
  436. [^<number>], then the content of the variable <number> will be used.
  437.    ex.
  438.    \vs[1]You have selected the file \f1!
  439.    \pa[Information][^1][OK]
  440. Notes.
  441.      - When the argument of a command is 'starting directory', you can
  442.      place a [-] to keep it effective. This function is only usefull when
  443.      you want to supply values to other arguments (ex. the title) with out
  444.      having to define it again.
  445.      ex.
  446.      Copy \f1[dh0:][From Which file?] TO \f1[][To Which file?]
  447.      => This way, the starting directory of the second \f1 will be the
  448.      current directory. But if you replace the second \f1 by
  449.      '\f1[-][To Which file?]' then the current directory will be the one
  450.      from which file are copied from, which more practical..
  451.      - When the argument is a 'Question', you can place '@' in the question
  452.      which will insert a line feed at that place.
  453.      - The variables used in this part of CliVa are define by a number of
  454.      variable (1 to 15000) and by the content of that variable. Once
  455.      define, the variable can be used just about anywhere. For example,
  456.      the content of a variable can be used as a gadget title (see gadget
  457.      defenition). Be carefull not to get mixed up using CliVa's local
  458.      variables and the 'Env:' environment variables, you must use the
  459.      \vfe and \vte functions which provide a way of importing and exporting
  460.      the content of 'Env:' environments with a CliVa's variable.
  461. @endnode
  462. @node \b " \b "
  463.     option: \b
  464.   function: Executes a backspace in the command.
  465.    example: Copy df0: to df0:\b\b1:  =>  Copy df0: to df1:
  466. @endnode
  467. @node \d " \d "
  468.     option: \d[starting directory][window title]
  469. Arg oblig.: None.
  470.   function: Opens a directory requester.
  471.    example: cd \d[ram:][Which directory?]
  472. @endnode
  473. @node \dl " \dl "
  474.     option: \dl
  475.   function: Insert the last directory selected.  If \f1 or \fm as been
  476.             used, the path will be inserted. This option can be very
  477.             useful, take for instance the following example.
  478.    example: \vs[1]\f1[][File to be executed?]
  479.             cd \dl         => The current directory is the one where
  480.             \vu[1]         => the file to be executed is located.
  481. @endnode
  482. @node \f1 " \f1 "
  483.     option: \f1[starting directory][window title][pattern]
  484. Arg oblig.: None.
  485.   function: Open a file requester. The selected file will be inserted in
  486.             the script.
  487.    example: Unwarp \f1[download:][Which file?][*.wrp]
  488. @endnode
  489. @node \fl " \fl "
  490.     option: \fl[extension]
  491. Arg oblig.: None.
  492.   function: Insert the last selected file. You can change the extension
  493.             of the file.
  494.    example: shamsharp \f1 \fl[iff]  ==>  shamsharp "image.gif" "image.iff"
  495. @endnode
  496. @node \fm " \fm "
  497.     option: \fm[starting directory][window title][pattern][max]
  498. Arg oblig.: None.
  499.   function: Open a multiple file requester. You can specify a maximum
  500.             number of files to be selected.
  501.    example: View80 \fm[text:][Texts to read?][*][10]
  502. @endnode
  503. @node \gG " \gG "
  504.     option: \g and \G
  505.   function: By default, the files and directories are quoted.
  506.             These options give you the possibility to remove or insert
  507.             quotes.
  508.             \g -> No quotes.
  509.             \G -> Insert quotes.
  510.    example: View80 \f \g\f \G\f    => view80 "file1" file2 "file3"
  511. @endnode
  512. @node \oO " \oO "
  513.     option: \o et \O
  514.   function: By default, the file is preceded by its path.
  515.             These options give you the possibility to remove or insert
  516.             the path.
  517.             \o -> No path.
  518.             \O -> Insert the path.
  519.    example: Deksid \f1        =>  Deksid "dh0:rep/file"
  520.             Deksid \o\f1      =>  Deksid "file"
  521.             Deksid \O\f1      =>  Deksid "dh0:rep/file"
  522. @endnode
  523. @node \pa " \pa "
  524.     option: \pa[window title][question][Left Cont][Middle Cont][Right Cont]
  525.                            [Left Content][Middle Content][Right Content]
  526. Arg needed: Window tiltle and Question.
  527.   function: Open a requester. If the Left answer is selected, then its
  528.             content is inserted in the script. Same thing for Middle and
  529.             Right.
  530.    example: \pa[Info][Which drive?][df0:][][df1:][df0:][][df1:]
  531. @endnode
  532. @node \q " \q "
  533.     option: \q[content by default][window title]
  534. Arg needed: Content and Title.
  535.   function: Ask a question.
  536.    example: Unwarp \f1 \q[df0:][Which drive?]
  537. @endnode
  538. @node \ql " \ql "
  539.     option: \ql
  540.   function: Insert the last answer to a question.
  541.    example: cd \q[df0:][Which Drive?]
  542.             Unwarp \f1 \ql
  543. @endnode
  544. @node \ivs " \ivs "
  545.     option: \ivs[variable number]
  546. Arg needed: Variable number.
  547.   function: If the variable IS NOT define, the remaining of the current line
  548.             will be analysed.
  549.    example: \ivs[1]\vs[1]\d[ram:][Open a Shell in which directory?]
  550.             NewShell \vu[1] => The first time this gadget will be executed
  551.                                the directory will be asked. Then the
  552.                                command "NewShell Dir" will be executed
  553.                                without entering anything.
  554. @endnode
  555. @node \vc " \vc "
  556.     option: \vc[variable number]
  557. Arg needed: None.
  558.   function: Clear one or all variables of CliVa. If no argument are passed
  559.             to this function, all variables will be erased.
  560.             You should always clear local variables to one gadget, since
  561.             each variable requires memory.
  562.    example: \vs[1]You have selected the file \f1
  563.             \pa[Info][^1]
  564.             \vc[1]
  565. @endnode
  566. @node \ved " \ved "
  567.     option: \ved[variable number][content targeted]
  568. Arg needed: Variable number and the content targeted.
  569.   function: If the variable is define and its content is equal to the
  570.             targeted one, the rest of the current line will be analysed.
  571.             (possibility to use pattern when you have the OS 2.0)
  572.    example: \vs[1]\pa[Info][Question?][Choice a][Choice b][Choice c][a][b][c]
  573.             \ved[1][a]Command for choice a.
  574.             \ved[1][a]Other command for choice a.
  575.             \ved[1][b]Command for choice b.
  576.             \ved[1][c]Command for choice c.
  577. @endnode
  578. @node \vnd " \vnd "
  579.     option: \vnd[variable number][content targeted]
  580. Arg needed: Variable number and the content targeted.
  581.   function: If the variable is define and its content IS NOT EQUAL to the
  582.             targeted one, the rest of the current line will be analysed.
  583.             (possibility to use pattern when you have the OS 2.0)
  584. @endnode
  585. @node \vfe " \vfe "
  586.     option: \vfe[CliVa variable number][name of the variable ENV:]
  587. Arg needed: CliVa Variable number and the name of the variable ENV:.
  588.   function: Import the content of a variable 'ENV:' in one of 'CliVa'.
  589.             You must use this function if you want (for example) to modify
  590.             the content of a Environment 'ENV:'.
  591.             Note: the name of the variable 'ENV:' can contain a path
  592.             (ex. 'ram:env/Workbench') but it must not be Quoted.
  593.    example: \vs[1]\g\o\f1[ENV:][Modify which variable ENV:?]
  594.             \vfe[2][^1]
  595.             \vm[2]
  596.             \vte[2][^1]
  597. @endnode
  598. @node \vm " \vm "
  599.     option: \vm[variable number]
  600. Arg needed: Variable number.
  601.   function: Modify the content of a variable. The window title will be
  602.             'Modify variable', if that title doesn't reflect your needs,
  603.             you can always use the \q option which of a more general nature.
  604.             \vm[1]    ===     \vs[1]\q[^1][Other Title]
  605.    example: \vs[1]\f1         => 'ram:env/Workbench'
  606.             \vm[1]
  607.             Deksid \vu[1]\vc[1]
  608. @endnode
  609. @node \vs " \vs "
  610.     option: \vs[variable number][Content]
  611. Arg needed: Variable number.
  612.   function: Assign the content of a variable.  If Content is provided,
  613.             Content will be assigned to the variable.  Otherwise the content
  614.             assigned will be the analysed result of the line on which \vs is.
  615.             The variable number must be between 1 and 15000.  If you enter a
  616.             number outside of this range, CliVa will accept it but the result
  617.             could be surprising.
  618.    example: You have chosen \f1.\vs[1]
  619.                      => Variable 1 = 'You have chosen a "file".'
  620.             \vs[1][Dummy1]\vs[2][Dummy2]
  621.                      => Variable 1 = 'Dummy1' and Variable 2 = 'Dummy2'
  622. @endnode
  623. @node \vte " \vte "
  624.     option: \vte[CliVa variable number][name of the variable ENV:]
  625. Arg needed: CliVa variable number and the name of the variable ENV:.
  626.   function: Export the content of the CliVa variable to the ENV: variable.
  627.             Note: Unlike \vfe, the name of the variable ENV: can not
  628.             contain the path..
  629.    example: \vfe[2][WorkBench]
  630.             \vm[2]
  631.             \vte[2][WorkBench]
  632. @endnode
  633. @node \vu " \vu "
  634.     option: \vu[variable number][content by default]
  635. Arg needed: Variable number.
  636.   function: Insert in the script the content of a variable. If the variable
  637.             is not define, the default content will be used.
  638.    example: Format DRIVE \vu[1][df0:] name \q[Stuff][New name?]\w\nd
  639. @endnode
  640. @node \I " \I "
  641.     option: \I
  642.   function: After the gadget as been executed, CliVa will iconify.
  643.    example: CliVa s:other.config\I
  644. @endnode
  645. @node \QQ " \Q "
  646.     option: \Q
  647.   function: After the gadget as been executed, CliVa will quit.
  648.    example: CliVa s:CliVa.config\Q  ==>  RE-LOAD CliVa config.
  649. @endnode
  650. @node \np " \np "
  651.     option: \np
  652.   function: After the gadget as been executed, the page number will be
  653.             incremented by one. Many \np can be in the same command.
  654.    example: =D "Next Page"
  655.             \np
  656. @endnode
  657. @node \pp " \pp "
  658.     option: \pp
  659.   function: After the gadget as been executed, the page number will be
  660.             decremented by one. Many \pp can be in the same command
  661.    example: =D "Pr
  662. dente Page"
  663.             \pp
  664. @endnode
  665. @node \p " \p "
  666.     option: \p[page number]
  667. Arg needed: Page number.
  668.   function: After the gadget as been executed, the page number will be
  669.             changed to the one supplied.
  670.    example: =D "Go to page 3"
  671.             \p[3]
  672. @endnode
  673. @node \sa " \sa "
  674.     option: \sa
  675.   function: DeSelect the AutoIconify option in the menu.
  676. @endnode
  677. @node \sAA " \sA "
  678.     option: \sA
  679.   function: Select the AutoIconify option in the menu.
  680. @endnode
  681. @node \sm " \sm "
  682.     option: \sm
  683.   function: DeSelect the modify option in the menu.
  684. @endnode
  685. @node \sMM " \sM "
  686.     option: \sM
  687.   function: Select the modify option in the menu.
  688. @endnode
  689. @node \m " \m "
  690.     option: \m
  691.   function: The line which contains \m may be modified when the gadget is
  692.             executed. See the 'Modify Command' option.
  693.    example: cd dh0:     ==>   doesn't modify
  694.             Avail\m     ==>   modify's
  695.             dir         ==>   doesn't modify
  696. @endnode
  697. @node \MM " \M "
  698.     option: \M
  699.   function: Starting at the line where \M is, all lines can be modified
  700.             when the gadget is executed. See the 'Modify Command' option.
  701.    example: cd dh0:     ==>   doesn't modify
  702.             Avail\M     ==>   modify's
  703.             dir         ==>   modify's
  704. @endnode
  705. @node \ael " \ael "
  706.     option: \ael[Window Title][Question][Positive Resp][Negative Resp]
  707. Arg needed: Window Title and Question.
  708.   function: If the answer is Positive, then the rest of the current line
  709.             will be analysed.
  710.    example: avail
  711.             \eal[Question][Execute Deksid before dir?][Yes][No]Deksid
  712.             dir
  713. @endnode
  714. @node \aes " \aes "
  715.     option: \aes[Window title][Question][Positive Resp][Negative Resp]
  716. Arg needed: Window Title and Question.
  717.   function: If the answer is Positive, then the rest of the lines will be
  718.             analysed.
  719.    example: avail
  720.             \aes[Question][Execute Deksid and dir?][Yes][No]Deksid
  721.             dir
  722. @endnode
  723. @node \des " \des "
  724.     option: \des[Window Title][Question][Positive Resp][Negative Resp]
  725. Arg needed: None
  726.   function: If the  answer to the question is Negative or the title and
  727.             the question are not supplied, Then the script will not be
  728.             executed.
  729.    example: avail
  730.             \des[Question][Execute Avail, Deksid and dir?][Yes][No]Deksid
  731.             dir
  732. @endnode
  733. @node \es " \es "
  734.     option: \es
  735.   function: Execute the content of the script after the current line as
  736.             been analysed even if the analysis is not fully completed.
  737.             Once the script as been started, the rest of the commands will
  738.             be analysed.
  739.    example: avail\es\w
  740.             dir\es\w       => opens 2 output windows, and executed
  741.                               asynchronously avail and Dir
  742. @endnode
  743. @node \nd " \nd "
  744.     option: \nd
  745.   function: By default, if the \w option is used, the following DOS command
  746.             will be added to the script 'echo Press mouse button' and
  747.             'mouse'.  Which will prevent the window from closing till you
  748.             hit the mouse button to exit. With the \nd option, these two
  749.             commands are not added to the script.
  750.    example: echo "Read quickly :)"\w\nd
  751. @endnode
  752. @node \w " \w "
  753.     option: \w
  754.   function: Signals the script that an OutPut window is needed. What this
  755.             is really, the DOS command executed will be
  756.                'NewShell "shell_window_definition" from script'
  757.             instead of
  758.                'Execute script'
  759.    example: avail\w
  760. @endnode
  761. @node \X " \X "
  762.     option: \X
  763.   function: Execute immediately the line where \X is. This line will not be
  764.             included in the final script. The analysis of the commands will
  765.             be halted till the execution of that line is not completed.
  766.    example: more text\X
  767.             \pa[Question][The Text is OK?][Yes][Maybe][No]
  768. @endnode
  769. @node SPECIAL " SPECIAL "
  770. SPECIAL
  771. ~~~~~~~
  772.  - When you click on a gadget, you can press in the same time on the fonction
  773. key (Control, Alt, Amiga). These variables will be initialised.
  774.    - variable number 15001 <- 'CONTROL'  if the CONTROL key is pressed.
  775.    - variable number 15002 <- 'R-ALT'    if the RIGHT-ALT key is pressed.
  776.    - variable number 15003 <- 'L-ALT'    if the LEFT-ALT key is pressed.
  777.    - variable number 15004 <- 'ALT'      if one of the ALT key is pressed.
  778.    - variable number 15005 <- 'R-AMIGA'  if the RIGHT-AMIGA key is pressed.
  779.    - variable number 15006 <- 'L-AMIGA'  if the LEFT-AMIGA key is pressed.
  780.    - variable number 15007 <- 'AMIGA'    if one of the AMIGA key is pressed.
  781. Exemple.
  782.    =D "Avail"
  783.    \ved[15001][CONTROL] Avail    => if the CONTROL key is pressed -> 'Avail'
  784.    \vnd[15001][CONTROL] Avail flush    => Otherwise 'Avail flush'
  785. @endnode
  786. @node MENU " MENU "
  787.  - AutoIconify: When this option is selected, CliVa will iconify
  788.                 automatically after each execution of a gadget that
  789.                 contains at least one DOS command. This way, gadgets
  790.                 like 'Next Page' can be executed without having
  791.                 CliVa iconifying.
  792.  - Modify: All lines in the gadget defenition can be modified before
  793.            they are inserted in the script. If one of the SHIFT key
  794.            is press while clicking on a gadget, the modify option will
  795.            be active during the analysis of the commands.
  796. @endnode
  797. @node HISTORY " HISTORY "
  798. History
  799. ~~~~~~~
  800.    version 2.0:   Marsh 30, 93
  801.    ------------
  802.    First official version.
  803.    version 2.1:   October 16, 93          Size: 19776
  804.    ------------
  805.    Minor BUG - A couple of Small bugs removed.
  806.    NEW - New option 'NO_HIDDEN_BUTTON', this option will not put an invisible
  807.          ScrollBar to the window when the option 'NO_DRAG_BAR' is used.
  808.    version 2.2:   November 3, 93          Size: 20356
  809.    ------------
  810.    NEW - A new option '=M name' that define an element who will be linked to
  811.          the 'Tools' menu of the Workbench. (OS 2.0 only)
  812.    NEW - Pattern can now be used in the option '\ved' and '\vnd'.
  813.          (ex. '\ved[1][*.c]CED \vu[1]' => if it is a source, use CygnusEd)
  814.          (OS 2.0 only)
  815.    Minor BUG - CliVa had some problem to determine the exact size of the
  816.                workbench.  Bug removed.
  817.    Minor BUG - Some probleme when using the option '\fl[new extension' with
  818.                the 'no path' option selectionned ('\o'). Bug removed.
  819.    version 2.3:   January 12, 1994        Size: 20352
  820.    ------------
  821.     NEW - The enregistred user will receive a key file that will modify the
  822.          About text.
  823.     Major BUG - CliVa had a bug in with the Menus in conjunction with the
  824.                Iconified state.  Bug removed.
  825. To Do
  826. ~~~~~
  827.         - Use the ReqTools.library instead of Req.library.
  828.         - Addition of 'shortcuts' to the gadgets.
  829.         - Possibility to use names for variables instead of numbers.
  830.         - Make a more WB2.0 specific version.
  831. @endnode
  832. @node WHO_WHERE " WHO and WHERE "
  833. To reach and encourage me:
  834. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  835.  CLIVA is a Shareware product, which means if you use it much, then you
  836.  should pay for it. A 15$ contribution is suggested. Any other contribution
  837.  are also accepted. Do not hesitate to give me some feedback through the
  838.  networks on CLIVA. All Amiga Clubs and disks public domain collections like
  839.  Fred Fish, are encouraged to make CliVa part of there disks collections.
  840.                      1:167.151.0@fidonet
  841.  Christian Warren   40:600/151.0@amiganet
  842.                    101:166/106.0@francomedia
  843.                    Christian Warren
  844.                    2201 Edouard-MontPetit #11
  845.                    Montr
  846. al, Qu
  847. , CANADA
  848.                    H3T 1J3
  849. @endnode
  850. @node THANKS.. " THANKS.. "
  851. Thanks to
  852. ~~~~~~~~~
  853.  - C.W. Fox and Bruce Dawson: for there fantastic File Requester
  854.                               and Color Requester libraries.
  855.  - Nico Francois: For is excellent libraries.
  856.                   (ReqTools et PowerPacker).
  857.  - Denis Turcotte: For have been the official Beta-tester, for 'forcing me'
  858.                    to implement a bunch of functions and to have translated
  859.                    these docs.. Will he make the .guide's!!
  860. @endnode
  861.